package com.zxh.listdemo.model;

import com.zxh.listdemo.adapter.list.common.BaseMultiModel;

/**
 * Created by zhangxuehui on 2018/2/27.
 */
public class OneModel implements BaseMultiModel {
    private String title;
    private String desc;
    private String link;
    private int itemType;

    public OneModel(String title, String desc, String link) {
        this.title = title;
        this.desc = desc;
        this.link = link;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public OneModel setItemType(int itemType) {
        this.itemType = itemType;
        return this;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
